package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * (Announcement)实体类
 *
 * @author makejava
 * @since 2020-10-26 19:41:49
 */
@ApiModel(value = "公告")
public class Announcement implements Serializable {
    private static final long serialVersionUID = 580031747371345247L;
    /**
     * 公告id
     */
    @ApiModelProperty(name = "announcementId",notes = "公告id",required = false,value = "公告id")
    private Integer announcementId;
    /**
     * 公告标题
     */
    @ApiModelProperty(name = "announcementTitle",notes = "公告标题",required = true,value = "公告标题")
    private String announcementTitle;
    /**
     * 公告内容
     */
    @ApiModelProperty(name = "announcementDescribe",notes = "公告内容",required = true,value = "公告内容")
    private String announcementDescribe;
    /**
     * 公告状态（1：已发布，2：未发布）
     */
    @ApiModelProperty(name = "announcementState",notes = "公告状态（1：已发布，2：未发布）",required = true,value = "公告状态（1：已发布，2：未发布）")
    private int announcementState;
    /**
     * 创建日期（当前时间）
     */
    @ApiModelProperty(name = "announcementDate",notes = "创建日期（当前时间）",required = true,value = "创建日期（当前时间）")
    private Date announcementDate;
    /**
     * 删除状态
     */
    @ApiModelProperty(name = "del_state",notes = "删除状态",required = true,value = "删除状态")
    private int del_state;

    /**
     * 员工id
     */
    @ApiModelProperty(name = "employee_id",notes = "员工id",required = true,value = "员工id")
    private int employee_id;

    /**
     * 驳回原因
     */
    @ApiModelProperty(name = "bohui",notes = "驳回原因",required = true,value = "驳回原因")
    private int bohui;

    public int getDel_state() {
        return del_state;
    }

    public void setDel_state(int del_state) {
        this.del_state = del_state;
    }

    public Integer getAnnouncementId() {
        return announcementId;
    }

    public void setAnnouncementId(Integer announcementId) {
        this.announcementId = announcementId;
    }

    public String getAnnouncementTitle() {
        return announcementTitle;
    }

    public void setAnnouncementTitle(String announcementTitle) {
        this.announcementTitle = announcementTitle;
    }

    public String getAnnouncementDescribe() {
        return announcementDescribe;
    }

    public void setAnnouncementDescribe(String announcementDescribe) {
        this.announcementDescribe = announcementDescribe;
    }

    public int getAnnouncementState() {
        return 0;
    }

    public void setAnnouncementState(int announcementState) {
        this.announcementState = announcementState;
    }

    public Date getAnnouncementDate() {
        return announcementDate;
    }

    public void setAnnouncementDate(Date announcementDate) {
        this.announcementDate = announcementDate;
    }

    @Override
    public String toString() {
        return "Announcement{" +
                "announcementId=" + announcementId +
                ", announcementTitle='" + announcementTitle + '\'' +
                ", announcementDescribe='" + announcementDescribe + '\'' +
                ", announcementState=" + announcementState +
                ", announcementDate=" + announcementDate +
                ", del_state=" + del_state +
                '}';
    }
}